import request from '@/router/axios'

export function fetchChildrenHeightList(query) {
  return request({
    url: '/pvm/childrenheight/page',
    method: 'get',
    params: query
  })
}

export function addChildrenHeightObj(obj) {
  return request({
    url: '/pvm/childrenheight',
    method: 'post',
    data: obj
  })
}

export function getChildrenHeightObj(id) {
  return request({
    url: '/pvm/childrenheight/' + id,
    method: 'get'
  })
}

export function delChildrenHeightObj(id) {
  return request({
    url: '/pvm/childrenheight/' + id,
    method: 'delete'
  })
}

export function putChildrenHeightObj(obj) {
  return request({
    url: '/pvm/childrenheight',
    method: 'put',
    data: obj
  })
}
